import { lang } from './types';
import type { FormRules } from 'element-plus';
import type required from '@/utils/formRules'
export interface loginForm {
	userType: string,
	ruleForm: ruleForm,
	rules: {
		user: required,
		password: required,
	},
	islogin: boolean,
	config: config,
	lang: lang[],
}
export interface ruleForm {
	user?: string,
	password?: string,
	autologin?: boolean,
}
export interface config {
	lang: string,
	dark?: boolean
}
export interface lang {
	name: string,
	value: string
}